 //*****************************************
 // Test.java            Author:20172323wyh
 //*****************************************
 
 public class Test
 {
    public static void main(String[] args)
    {
       Novel a = new Novel("Golden Slumbers", "Kotaro IsaKa", 368, "detective");
       Novel c = new Novel("frog", "Moyan", 340, "contemporary literature");
       Magazine b = new Magazine("Comic show", "comic", 100, "youth");

       System.out.println(a);
       System.out.println();
       System.out.println(b);
       System.out.println();
       System.out.println(c);
    }
 }
       
         
